<template>
	<u-popup mode="center" :show="show" @close="close">
		<u--image v-if="imgUrl"  :src="imgUrl"  @click="click" mode="aspectFit"></u--image>
	</u-popup>
</template>

<script>
	export default {
		data(){
			return {
				show:false,
				imgUrl:''
			}
		},
		methods: {
			open(url) {
				this.imgUrl = url
				console.log(url,'213');
				this.show = true
				// console.log('open');
			},
			close() {
				this.show = false
				this.imgUrl = ''
				// console.log('close');
			}
		}
	}
</script>

<style>
</style>